//
//  YIConfig.h
//  一点互助
//
//  Created by rimi on 16/8/19.
//  Copyright © 2016年 shen. All rights reserved.
//

#ifndef YIConfig_h
#define YIConfig_h
//屏幕宽高
#define kBaseWidth 375
#define kBaseHeight 667

#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height
//宽度和高度比例
#define kScreenWidthScale kScreenWidth / kBaseWidth
#define kScreenHeightScale kScreenHeight / kBaseHeight

#define RGBCOLOR(r,g,b,a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a];

// app 的主要颜色
#define HEADER_COLOR        RGBCOLOR(89,202,195,1)
#endif /* YIConfig_h */
